package com.iv.durian.cloud;

import java.util.List;

public class MultiPage<T> {
    private int total;

    private List<T> data;

    public MultiPage() {}

    public MultiPage( int total, List<T> data ) {
        this.total = total;
        this.data = data;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal( int total ) {
        this.total = total;
    }

    public List<T> getData() {
        return data;
    }

    public void setData( List<T> data ) {
        this.data = data;
    }
}
